package shared.pojo

import upickle.default._

/**
	*Created by yz on 10/10/2023
	*/object App {

  case class MissionIdData(missionId:Int)

  object MissionIdData {
    implicit val rw = macroRW[MissionIdData]
  }

  case class IdsData(missionIds: List[Int], account: String = "")

  object IdsData {
    implicit val rw: ReadWriter[IdsData] = macroRW[IdsData]
  }

  case class ExportPdfData(missionIds: List[Int], svgStrs:List[String])

  object ExportPdfData {
    implicit val rw = macroRW[ExportPdfData]
  }

  case class DirData(dir: String)

  object DirData {
    implicit val rw = macroRW[DirData]
  }

}
